//点击图片相机
var camera=document.getElementsByClassName('camera')[0];
var nav=document.getElementsByClassName('aui-box-nav')[0];
var mask=document.getElementsByClassName('mask')[0];
var head=document.getElementsByClassName('aui-bar aui-bar-nav')[0];
camera.addEventListener('click',function () {
    nav.style.display='block';
    mask.style.display='block';
    head.style.background='#f2f2f2';
});
//打赏
var rew=document.getElementsByClassName('reward-container')[0];
var reward=document.getElementById('reward');
rew.addEventListener('click',function () {
    reward.style.display='block';
});
var pr=document.getElementById('price');
function demo() {
    num =(Math.random()).toFixed(2);
    pr.innerText='￥'+num;
}
